package router

import (
	"github.com/gin-gonic/gin"
	"week2_api/internal/api"
)

func UserRouter(c *gin.RouterGroup) {
	userRouter := c.Group("user")
	{
		userRouter.POST("register", api.Register)
		userRouter.GET("find", api.Find)
	}
}
